package com.hjq.demo.yuliao.api

import com.hjq.http.config.IRequestApi
import java.io.File

/**
 *
 * @author jiahe
 * 创建日期 2022/2/12
 * 描述 上传图片
 *
 */
class UploadImageApi : IRequestApi {

    override fun getApi(): String {
        return "put_file"
    }

    open var file: File? = null
        set(value) {
            field = value
        }

    data class UploadImageResp(
        val file_url: String
    )
}